package com.baiku.sanhos.pojo.vo;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

import java.io.Serializable;

@Data
@Document(indexName = "doctor")
public class DoctorInfoVo implements Serializable {
    /**
     * 医生id
     */
    @Id
    private Integer id;
    /**
     * 医生工号
     */
    private String no;
    /**
     * 医生姓名
     */
    private String nickname;
    /**
     * 所属科室id
     */
    private Integer deptId;
    /**
     * 父级科室
     */
    @Field(type = FieldType.Text, analyzer = "ik_smart", searchAnalyzer = "ik_smart")
    private Integer levelId;
    /**
     * 科室名称
     */
    private String deptName;
    /**
     * 当前号源数据
     */
    private Integer sourceSurplus;
    /**
     * 医生工龄
     */
    private Float jobAge;
    /**
     * 状态
     * 是否可以进行预约
     */
    private Integer status;
    /**
     * 职称
     */
    private String jobTitle;
    /**
     * 简介
     */
    private String brief;
}
